/*
 * netparser: P a r s e r  S u p p o r t
 *
 * Generated from: netgram.g
 *
 * Terence Parr, Russell Quong, Will Cohen, and Hank Dietz: 1989-2001
 * Parr Research Corporation
 * with Purdue University Electrical Engineering
 * with AHPCRC, University of Minnesota
 * ANTLR Version 1.33MR33
 */

#define ANTLR_VERSION	13333
#include "pcctscfg.h"
#include "pccts_stdio.h"
#define ANTLR_SUPPORT_CODE
#include "tokens.h"
#include "netparser.h"

const ANTLRChar *netparser::tokenName(int tok)   { return _token_tbl[tok]; }

const ANTLRChar *netparser::_token_tbl[]={
	/* 00 */	"Invalid",
	/* 01 */	"@",
	/* 02 */	"TITTLE",
	/* 03 */	"[\\ \\t]+",
	/* 04 */	"VALUE",
	/* 05 */	"NEWLINE",
	/* 06 */	"COMMENT",
	/* 07 */	"IC",
	/* 08 */	"TEMP",
	/* 09 */	"ONOFF",
	/* 10 */	"[Oo][Nn]",
	/* 11 */	"[Oo][Ff][Ff]",
	/* 12 */	"AC",
	/* 13 */	"DC",
	/* 14 */	"TRAN",
	/* 15 */	"EQUAL",
	/* 16 */	"COMMA",
	/* 17 */	"LEFTB",
	/* 18 */	"RIGHTB",
	/* 19 */	"VAR_NAME",
	/* 20 */	"IDENTIFIER",
	/* 21 */	"[\\ \\t]+",
	/* 22 */	"DOT",
	/* 23 */	"OP",
	/* 24 */	"SENS",
	/* 25 */	"TF",
	/* 26 */	"NOISE",
	/* 27 */	"SAVE",
	/* 28 */	"PRINT",
	/* 29 */	"PLOT",
	/* 30 */	"END",
	/* 31 */	"ENDS",
	/* 32 */	"MODEL",
	/* 33 */	"SUBCKT",
	/* 34 */	"OPTION",
	/* 35 */	"NODESET",
	/* 36 */	"PULSE",
	/* 37 */	"PULSE",
	/* 38 */	"pulse",
	/* 39 */	"SIN",
	/* 40 */	"SIN",
	/* 41 */	"sin",
	/* 42 */	"EXP",
	/* 43 */	"EXP",
	/* 44 */	"exp",
	/* 45 */	"PWL",
	/* 46 */	"PWL",
	/* 47 */	"pwl",
	/* 48 */	"SFFM",
	/* 49 */	"SFFM",
	/* 50 */	"sffm",
	/* 51 */	"RES",
	/* 52 */	"CAP",
	/* 53 */	"IND",
	/* 54 */	"VOL",
	/* 55 */	"CUR",
	/* 56 */	"VCCS",
	/* 57 */	"VCVS",
	/* 58 */	"CCCS",
	/* 59 */	"CCVS",
	/* 60 */	"SWITCH",
	/* 61 */	"DIODE",
	/* 62 */	"BJT",
	/* 63 */	"JFET",
	/* 64 */	"MOSFET",
	/* 65 */	"MESFET",
	/* 66 */	"CKTCALL",
	/* 67 */	"DISTOF1",
	/* 68 */	"distof1",
	/* 69 */	"DISTOF2",
	/* 70 */	"distof2",
	/* 71 */	"\\(",
	/* 72 */	"\\)",
	/* 73 */	"VALUEA"
};

netparser::netparser(ANTLRTokenBuffer *input) : ANTLRParser(input,1,0,0,12)
{
	token_tbl = _token_tbl;
	traceOptionValueDefault=0;		// MR10 turn trace OFF
}

SetWordType netparser::err1[12] = {0x0,0x60,0x0,0x0, 0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0
	};
SetWordType netparser::err2[12] = {0x20,0x70,0x0,0x0, 0x60,0xdb,0x6,0x0, 0x78,0x0,0x0,0x0
	};
SetWordType netparser::err3[12] = {0x30,0x0,0x0,0x0, 0x60,0xdb,0x6,0x0, 0x78,0x0,0x0,0x0
	};
SetWordType netparser::err4[12] = {0x30,0x0,0x0,0x0, 0x60,0xdb,0x6,0x0, 0x78,0x0,0x0,0x0
	};
SetWordType netparser::err5[12] = {0x20,0x10,0x0,0x0, 0x60,0xdb,0x6,0x0, 0x78,0x0,0x0,0x0
	};
SetWordType netparser::setwd1[74] = {0x0,0x2,0x0,0x0,0x0,0xf5,0x5,
	0x0,0x0,0x0,0x0,0x0,0x10,0x8,0x8,
	0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x5,
	0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
	0x0,0x0,0x0,0x0,0x0,0x0,0xf0,0xf0,
	0x0,0xf0,0xf0,0x0,0xf0,0xf0,0x0,0xf0,
	0xf0,0x0,0xf0,0xf0,0x5,0x5,0x5,0x5,
	0x5,0x5,0x5,0x5,0x5,0x5,0x5,0x5,
	0x5,0x5,0x0,0x5,0xf0,0xf0,0xf0,0xf0,
	0x0,0x0,0x0};
SetWordType netparser::err6[12] = {0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0, 0x18,0x0,0x0,0x0
	};
SetWordType netparser::err7[12] = {0x30,0x0,0x0,0x0, 0x60,0xdb,0x6,0x0, 0x60,0x0,0x0,0x0
	};
SetWordType netparser::err8[12] = {0x30,0x0,0x0,0x0, 0x60,0xdb,0x6,0x0, 0x60,0x0,0x0,0x0
	};
SetWordType netparser::err9[12] = {0x20,0x0,0x0,0x0, 0x60,0xdb,0x6,0x0, 0x78,0x0,0x0,0x0
	};
SetWordType netparser::err10[12] = {0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0, 0x60,0x0,0x0,0x0
	};
SetWordType netparser::err11[12] = {0x30,0x0,0x0,0x0, 0x60,0xdb,0x6,0x0, 0x0,0x0,0x0,0x0
	};
SetWordType netparser::err12[12] = {0x30,0x0,0x0,0x0, 0x60,0xdb,0x6,0x0, 0x0,0x0,0x0,0x0
	};
SetWordType netparser::err13[12] = {0x20,0x0,0x0,0x0, 0x60,0xdb,0x6,0x0, 0x60,0x0,0x0,0x0
	};
SetWordType netparser::setwd2[74] = {0x0,0x0,0x0,0x0,0x0,0xee,0x0,
	0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
	0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
	0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
	0x0,0x0,0x0,0x0,0x0,0x0,0xee,0xee,
	0x0,0xee,0xee,0x0,0xee,0xee,0x0,0xee,
	0xee,0x0,0xee,0xee,0x0,0x0,0x0,0x0,
	0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
	0x0,0x0,0x0,0x0,0x1,0x1,0x1e,0x1e,
	0x0,0x0,0x0};
SetWordType netparser::err14[12] = {0x20,0x0,0x0,0x0, 0x60,0xdb,0x6,0x0, 0x0,0x0,0x0,0x0
	};
SetWordType netparser::err15[12] = {0x0,0x60,0x0,0x0, 0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0
	};
SetWordType netparser::err16[12] = {0x20,0x70,0x0,0x0, 0x60,0xdb,0x6,0x0, 0x78,0x0,0x0,0x0
	};
SetWordType netparser::err17[12] = {0x30,0x0,0x0,0x0, 0x60,0xdb,0x6,0x0, 0x78,0x0,0x0,0x0
	};
SetWordType netparser::err18[12] = {0x30,0x0,0x0,0x0, 0x60,0xdb,0x6,0x0, 0x78,0x0,0x0,0x0
	};
SetWordType netparser::err19[12] = {0x20,0x10,0x0,0x0, 0x60,0xdb,0x6,0x0, 0x78,0x0,0x0,0x0
	};
SetWordType netparser::err20[12] = {0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0, 0x18,0x0,0x0,0x0
	};
SetWordType netparser::err21[12] = {0x30,0x0,0x0,0x0, 0x60,0xdb,0x6,0x0, 0x60,0x0,0x0,0x0
	};
SetWordType netparser::setwd3[74] = {0x0,0x0,0x0,0x0,0x0,0xbc,0x0,
	0x0,0x0,0x0,0x0,0x0,0x4,0x2,0x2,
	0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
	0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
	0x0,0x0,0x0,0x0,0x0,0x0,0xbd,0xbd,
	0x0,0xbd,0xbd,0x0,0xbd,0xbd,0x0,0xbd,
	0xbd,0x0,0xbd,0xbd,0x0,0x0,0x0,0x0,
	0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
	0x0,0x0,0x0,0x0,0x7c,0x7c,0xbc,0xbc,
	0x0,0x0,0x0};
SetWordType netparser::err22[12] = {0x30,0x0,0x0,0x0, 0x60,0xdb,0x6,0x0, 0x60,0x0,0x0,0x0
	};
SetWordType netparser::err23[12] = {0x20,0x0,0x0,0x0, 0x60,0xdb,0x6,0x0, 0x78,0x0,0x0,0x0
	};
SetWordType netparser::err24[12] = {0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0, 0x60,0x0,0x0,0x0
	};
SetWordType netparser::err25[12] = {0x30,0x0,0x0,0x0, 0x60,0xdb,0x6,0x0, 0x0,0x0,0x0,0x0
	};
SetWordType netparser::err26[12] = {0x30,0x0,0x0,0x0, 0x60,0xdb,0x6,0x0, 0x0,0x0,0x0,0x0
	};
SetWordType netparser::err27[12] = {0x20,0x0,0x0,0x0, 0x60,0xdb,0x6,0x0, 0x60,0x0,0x0,0x0
	};
SetWordType netparser::err28[12] = {0x20,0x0,0x0,0x0, 0x60,0xdb,0x6,0x0, 0x0,0x0,0x0,0x0
	};
SetWordType netparser::err29[12] = {0x10,0x0,0x10,0x0, 0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0
	};
SetWordType netparser::err30[12] = {0x10,0x0,0x10,0x0, 0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0
	};
SetWordType netparser::err31[12] = {0x10,0x0,0x10,0x0, 0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0
	};
SetWordType netparser::err32[12] = {0x10,0x0,0x10,0x0, 0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0
	};
SetWordType netparser::err33[12] = {0x10,0x0,0x10,0x0, 0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0
	};
SetWordType netparser::err34[12] = {0x10,0x0,0x10,0x0, 0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0
	};
SetWordType netparser::err35[12] = {0x10,0x0,0x10,0x0, 0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0
	};
SetWordType netparser::err36[12] = {0xb0,0xd,0x0,0x0, 0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0
	};
SetWordType netparser::setwd4[74] = {0x0,0x0,0x0,0x0,0x0,0xbb,0x0,
	0x80,0x80,0x0,0x80,0x80,0x0,0x0,0x0,
	0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
	0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
	0x0,0x0,0x0,0x0,0x0,0x0,0x7b,0x7b,
	0x0,0x7b,0x7b,0x0,0x7b,0x7b,0x0,0x7b,
	0x7b,0x0,0x7b,0x7b,0x0,0x0,0x0,0x0,
	0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
	0x0,0x0,0x0,0x0,0x0,0x0,0x7,0x7,
	0x0,0x0,0x0};
SetWordType netparser::ONOFF_set[12] = {0x0,0xc,0x0,0x0};
SetWordType netparser::ONOFF_errset[12] = {0x0,0xc,0x0,0x0};
SetWordType netparser::err39[12] = {0xa0,0xd,0x0,0x0, 0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0
	};
SetWordType netparser::err40[12] = {0xa0,0x1,0x0,0x0, 0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0
	};
SetWordType netparser::err41[12] = {0x20,0x1,0x0,0x0, 0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0
	};
SetWordType netparser::err42[12] = {0x10,0x0,0x10,0x0, 0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0
	};
SetWordType netparser::err43[12] = {0xb0,0xd,0x0,0x0, 0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0
	};
SetWordType netparser::err44[12] = {0xa0,0xd,0x0,0x0, 0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0
	};
SetWordType netparser::err45[12] = {0xa0,0x1,0x0,0x0, 0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0
	};
SetWordType netparser::err46[12] = {0x20,0x1,0x0,0x0, 0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0
	};
SetWordType netparser::err47[12] = {0xb0,0xd,0x0,0x0, 0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0
	};
SetWordType netparser::setwd5[74] = {0x0,0x0,0x0,0x0,0x0,0xee,0x0,
	0xaa,0xee,0x0,0x99,0x99,0x0,0x0,0x0,
	0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
	0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
	0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
	0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
	0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
	0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
	0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
	0x0,0x0,0x0};
SetWordType netparser::err48[12] = {0xa0,0xd,0x0,0x0, 0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0
	};
SetWordType netparser::err49[12] = {0xa0,0x1,0x0,0x0, 0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0
	};
SetWordType netparser::err50[12] = {0x20,0x1,0x0,0x0, 0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0
	};
SetWordType netparser::err51[12] = {0x20,0x0,0x10,0x0, 0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0
	};
SetWordType netparser::err52[12] = {0x60,0x0,0x40,0x0, 0x0,0x0,0xf8,0xff, 0x5,0x0,0x0,0x0
	};
SetWordType netparser::err53[12] = {0x20,0x0,0x10,0x0, 0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0
	};
SetWordType netparser::err54[12] = {0x0,0x0,0x18,0x0, 0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0
	};
SetWordType netparser::err55[12] = {0x30,0x0,0x0,0x0, 0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0
	};
SetWordType netparser::err56[12] = {0x30,0x0,0x0,0x0, 0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0
	};
SetWordType netparser::err57[12] = {0x0,0x70,0x8,0x0, 0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0
	};
SetWordType netparser::err58[12] = {0x0,0x70,0x8,0x0, 0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0
	};
SetWordType netparser::err59[12] = {0x20,0x0,0x10,0x0, 0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0
	};
SetWordType netparser::err60[12] = {0x0,0x70,0x80,0xff, 0x7,0x0,0x0,0x0, 0x0,0x0,0x0,0x0
	};
SetWordType netparser::setwd6[74] = {0x0,0x10,0x0,0x0,0x0,0x16,0x10,
	0x2a,0x2e,0x0,0x29,0x29,0xc0,0xc0,0xc0,
	0x0,0x0,0x0,0x0,0x0,0x28,0x0,0x10,
	0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
	0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
	0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
	0x0,0x0,0x0,0x0,0x10,0x10,0x10,0x10,
	0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,
	0x10,0x10,0x0,0x10,0x0,0x0,0x0,0x0,
	0x0,0x0,0x0};
SetWordType netparser::err61[12] = {0x0,0x70,0x0,0x0, 0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0
	};
SetWordType netparser::PULSE_set[12] = {0x0,0x0,0x0,0x0, 0x60,0x0,0x0,0x0};
SetWordType netparser::PULSE_errset[12] = {0x0,0x0,0x0,0x0, 0x60,0x0,0x0,0x0};
SetWordType netparser::SIN_set[12] = {0x0,0x0,0x0,0x0, 0x0,0x3,0x0,0x0};
SetWordType netparser::SIN_errset[12] = {0x0,0x0,0x0,0x0, 0x0,0x3,0x0,0x0};
SetWordType netparser::EXP_set[12] = {0x0,0x0,0x0,0x0, 0x0,0x18,0x0,0x0};
SetWordType netparser::EXP_errset[12] = {0x0,0x0,0x0,0x0, 0x0,0x18,0x0,0x0};
SetWordType netparser::PWL_set[12] = {0x0,0x0,0x0,0x0, 0x0,0xc0,0x0,0x0};
SetWordType netparser::PWL_errset[12] = {0x0,0x0,0x0,0x0, 0x0,0xc0,0x0,0x0};
SetWordType netparser::SFFM_set[12] = {0x0,0x0,0x0,0x0, 0x0,0x0,0x6,0x0};
SetWordType netparser::SFFM_errset[12] = {0x0,0x0,0x0,0x0, 0x0,0x0,0x6,0x0};
SetWordType netparser::err72[12] = {0x0,0x0,0x0,0x0, 0x60,0xdb,0x6,0x0, 0x0,0x0,0x0,0x0
	};
SetWordType netparser::setwd7[74] = {0x0,0x1,0x0,0x0,0x0,0x81,0x1,
	0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
	0x0,0x0,0x0,0x0,0x2,0x0,0x0,0x1,
	0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
	0x0,0x0,0x0,0x0,0x0,0x0,0x4,0x4,
	0x0,0x8,0x8,0x0,0x10,0x10,0x0,0x20,
	0x20,0x0,0x40,0x40,0x1,0x1,0x1,0x1,
	0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,
	0x1,0x1,0x0,0x1,0x0,0x0,0x0,0x0,
	0x0,0x0,0x0};
SetWordType netparser::err73[12] = {0x10,0x0,0x10,0x0, 0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0
	};
SetWordType netparser::err74[12] = {0xa0,0xd,0x11,0x0, 0x0,0x0,0x0,0x0, 0x0,0x1,0x0,0x0
	};
SetWordType netparser::err75[12] = {0xa0,0xd,0x11,0x0, 0x0,0x0,0x0,0x0, 0x0,0x1,0x0,0x0
	};
SetWordType netparser::err76[12] = {0x80,0xd,0x10,0x0, 0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0
	};
SetWordType netparser::err77[12] = {0x0,0x0,0x5,0x0, 0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0
	};
SetWordType netparser::err78[12] = {0x10,0x0,0x10,0x0, 0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0
	};
SetWordType netparser::err79[12] = {0x20,0x80,0x10,0x0, 0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0
	};
SetWordType netparser::setwd8[74] = {0x0,0x0,0x0,0x0,0x1,0xee,0x0,
	0x2c,0x2c,0x0,0x3c,0x3c,0x40,0x0,0x0,
	0x0,0x0,0x0,0x0,0x40,0xee,0x0,0x0,
	0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
	0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
	0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
	0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
	0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
	0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
	0x0,0x2d,0x0};
SetWordType netparser::setwd9[74] = {0x0,0x0,0x0,0x0,0x0,0x1,0x0,
	0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
	0x0,0x0,0x0,0x0,0x0,0x1,0x0,0x0,
	0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
	0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
	0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
	0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
	0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
	0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
	0x0,0x0,0x0};
